############################################################

# Set the base image to Ubuntu

FROM mysql:5.7

# Working dir
WORKDIR /data

# Copy sql file
COPY sql sql

# Copy initilize file
COPY init_mysql.sh ./

# Do init work
RUN chmod +x init_mysql.sh

# Init mysql for Dubhe
CMD ["/data/init_mysql.sh"]

